package com.tudouji.project.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 部门客户关联对象 customerdepartgroup
 *
 * @author tudouji
 * @date 2022-05-18
 */
@Data
public class Customerdepartgroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String departid;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String customerid;

    /** 1-正常2-删除 */
    @Excel(name = "1-正常2-删除")
    private Integer status;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorid;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    /** 销售员id */
    @Excel(name = "销售员id")
    private String sellerid;

    /** 管理按类型:1-渠道，2-客户经理 */
    @Excel(name = "管理按类型:1-渠道，2-客户经理")
    private Integer type;

    /** 创建人 */
    @Excel(name = "创建人")
    private String operator;

    private Date createtime;

    private String[] departids;

    private Integer[] stats;
}
